/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jmenu.main;

import jmenu.*;
import java.awt.Point;
import jmenu.dbmodels.MProfile;
import jmenu.gui.DefaultFrame;
import jmenu.gui.Kernel;
import jmenu.gui.MainFrame;


public class Config 
{
    private static Point _MainFramePosition;
    private static int _MainFrameWidth;
    private static int _MainFrameHeight;
    private static Kernel _Kernel;
    private static MainFrame _MainFrame;
    private static MProfile _Profile;
    private static Settings _Settings;

    
    public static void setKernel(Kernel kernel)
    {
        Config._Kernel = kernel;
    }
        
    public static Kernel getKernel()
    {
        return Config._Kernel;
    }
    
    public static void setMainFrame(MainFrame frame)
    {
        Config._MainFrame = frame;
    }
    
    public static MainFrame getMainFrame()
    {
        return Config._MainFrame;
    }
    
    public static void setProfile(MProfile profile)
    {
        Config._Profile = profile;
    }

    public static MProfile getProfile()
    {
        return Config._Profile;
    }

    public static void setSettings(Settings settings)
    {
        Config._Settings = settings;
    }

    public static Settings getSettings()
    {
        return Config._Settings;
    }
    
}
